package cz.muni.fi.pa165.ddtroops.daointerfaces;

import cz.muni.fi.pa165.ddtroops.entities.Skill;
import java.util.List;

/**
 *  Interface SkillDAO serves as an interface expected from SkillDAO class.
 * @author Jan Šťastný
 */

public interface SkillDAO extends BaseDAO<Skill>{
    /**
     * Method getByProfession retreives all the skills suitable for profession given by String
     * @param profession
     * @return
     */
    List<Skill> getByProfession(String profession);
    /**
     * Method getByXP retrieves all the skills avaliable for such XP level.
     * @param xp
     * @return 
     */
    List<Skill> getByXp(Long xp);
    /**
     * Method getByProfessionAndXP retrieves all the skills suitable for such XP level and profession
     * @param profession
     * @param xp
     * @return 
     */
    List<Skill> getByProfessionAndXp(String profession, Long xp);
}
